<template>
  <div class="crumbstyle">
    <template v-for="(item,index) in navs">
     
        <a href="#" :key="index">{{item.name}}</a>
         <template v-if="index<navs.length-1">/</template>
     </template>
   
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["navs"],
};
</script>
 
<style lang = "less" scoped>
.crumbstyle {
  /* background-color: pink; */
  margin-bottom: 10px;
  a {
    text-decoration: none;
    color: #000;
  }
}
</style>